﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HBase {
    public class ListUtil {
        public static String info<T>(String t,List<T> l) {
            StringBuilder sb = new StringBuilder(t);
            sb.Append(":");
            for (int i = 0; i < l.Count; i++) {
                if (i != 0) {
                    sb.Append(",");
                    sb.Append(l[i].ToString());
                } else {
                    sb.Append(l[i].ToString());
                }
            }
            return sb.ToString();   
        
        }
    }
}
